using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN PhongHocEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: PhongHocEntity</para>
	/// <para>Description: ClassPhongHocEntity store data of table PhongHoc</para>
	///</summary>

	[DataContract]
	public partial class PhongHocEntity{


		private bool _InternalChangedIsNullPhongHoc_ID=true;
		private bool _IsNullPhongHoc_ID=true;
		private bool _InternalChangedIsNullMaPhong=true;
		private bool _IsNullMaPhong=true;
		private bool _InternalChangedIsNullSucChua=true;
		private bool _IsNullSucChua=true;
		private bool _InternalChangedIsNullTang=true;
		private bool _IsNullTang=true;
		private bool _InternalChangedIsNullThuTu=true;
		private bool _IsNullThuTu=true;
		private bool _InternalChangedIsNullKhuNha_ID=true;
		private bool _IsNullKhuNha_ID=true;
		private int _PhongHoc_ID;
		private string _MaPhong;
		private int _SucChua;
		private int _Tang;
		private int _ThuTu;
		private int _KhuNha_ID;
		[DataMember]
		public bool IsNullPhongHoc_ID{
			get{return _IsNullPhongHoc_ID;}
			set{if(!_InternalChangedIsNullPhongHoc_ID)_IsNullPhongHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullMaPhong{
			get{return _IsNullMaPhong;}
			set{if(!_InternalChangedIsNullMaPhong)_IsNullMaPhong=value;}
		}
		[DataMember]
		public bool IsNullSucChua{
			get{return _IsNullSucChua;}
			set{if(!_InternalChangedIsNullSucChua)_IsNullSucChua=value;}
		}
		[DataMember]
		public bool IsNullTang{
			get{return _IsNullTang;}
			set{if(!_InternalChangedIsNullTang)_IsNullTang=value;}
		}
		[DataMember]
		public bool IsNullThuTu{
			get{return _IsNullThuTu;}
			set{if(!_InternalChangedIsNullThuTu)_IsNullThuTu=value;}
		}
		[DataMember]
		public bool IsNullKhuNha_ID{
			get{return _IsNullKhuNha_ID;}
			set{if(!_InternalChangedIsNullKhuNha_ID)_IsNullKhuNha_ID=value;}
		}
		[DataMember]
		public int PhongHoc_ID{
			get{return _PhongHoc_ID;}
			set{
				_PhongHoc_ID=value;
				if(_PhongHoc_ID!=null){
					_IsNullPhongHoc_ID=false;
					_InternalChangedIsNullPhongHoc_ID=true;
				}
			}
		}
		[DataMember]
		public string MaPhong{
			get{return _MaPhong;}
			set{
				_MaPhong=value;
				if(_MaPhong!=null){
					_IsNullMaPhong=false;
					_InternalChangedIsNullMaPhong=true;
				}
			}
		}
		[DataMember]
		public int SucChua{
			get{return _SucChua;}
			set{
				_SucChua=value;
				if(_SucChua!=null){
					_IsNullSucChua=false;
					_InternalChangedIsNullSucChua=true;
				}
			}
		}
		[DataMember]
		public int Tang{
			get{return _Tang;}
			set{
				_Tang=value;
				if(_Tang!=null){
					_IsNullTang=false;
					_InternalChangedIsNullTang=true;
				}
			}
		}
		[DataMember]
		public int ThuTu{
			get{return _ThuTu;}
			set{
				_ThuTu=value;
				if(_ThuTu!=null){
					_IsNullThuTu=false;
					_InternalChangedIsNullThuTu=true;
				}
			}
		}
		[DataMember]
		public int KhuNha_ID{
			get{return _KhuNha_ID;}
			set{
				_KhuNha_ID=value;
				if(_KhuNha_ID!=null){
					_IsNullKhuNha_ID=false;
					_InternalChangedIsNullKhuNha_ID=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END PhongHocEntityBase*****************************************/
	/*****************************************************************************************************/
}

